//
//  SEGSecurityManager.h
//  SEGBasic
//
//  Created by Clavis on 2019/5/24.
//  Copyright © 2019 刘山. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SEGSecurityManager : NSObject

@property (nonatomic, assign) NSInteger securityVersion;
@property (nonatomic, assign) BOOL isDynamicInjection; // 是否动态注入
@property (nonatomic, assign) NSString *tip;

+ (instancetype)shared;
+ (BOOL)isAgreeSecurity;
+ (void)updateLocalSecurityVersion;
- (void)setLoginNeedShowAuthView:(NSString *)tel status:(BOOL)status;
- (void)setModifyPasswordNeedShowAuthView:(NSString *)tel status:(BOOL)status;
- (BOOL)getLoginNeedShowAuthView:(NSString *)tel;
- (BOOL)getModifyNeedShowAuthView:(NSString *)tel;

// 判断是否u越狱
- (BOOL)isJailBreak;

@end
